<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <TITLE>ThinkPHP示例：静态页面生成</TITLE>
<link rel='stylesheet' type='text/css' href='__PUBLIC__/Css/common.css'>
 </HEAD>
 <BODY>
 <div class="main">
 <H2>ThinkPHP示例之：静态页面生成</H2>
设置页面生成静态和有效期<BR>
 <TABLE  cellpadding=3 cellspacing=3>
  <TR>
	<TD ><div class="result" style="color:red">当前时间：{$id|time|date='H:i:s',###}</div></TD>
 </TR>
 <TR>
	<TD class="tLeft" ><A HREF="javascript:location.reload()">刷新页面</A> 后注意看时间是否有变化</TD>
 </TR>
 <TR>
	<TD ><HR> 示例源码<BR>配置文件config.php<BR><php>highlight_file(APP_PATH.'/Conf/config.php');</php><BR>
	静态定义文件htmls.php <BR><php>highlight_file(APP_PATH.'/Conf/htmls.php');</php><BR>
	控制器IndexAction类<BR><php>highlight_file(LIB_PATH.'Action/IndexAction.class.php');</php>
	</TD>
 </TR>
 </TABLE>
</div>
 </BODY>
</HTML>
